﻿using System;

namespace DanielVaughan.UserOptionsModel.UserOptions
{
	public class ObjectUserOption<TSetting> : UserOptionBase<TSetting>
	{
		/* TODO: [DV] Comment. */
		public ObjectUserOption(
			Func<string> titleFunc,
			string settingKey,
			Func<TSetting> defaultValueFunc)
			: base(titleFunc, settingKey, defaultValueFunc)
		{
			TemplateNameFunc = () => typeof(TSetting).Name;
		}
	}
}